<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>轮播图</title>
    <link rel="stylesheet" href="./css/index.css">
</head>

<body>
    <div class="wrap">
        <div class="swiper-container">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <img src="./image/1.webp" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./image/2.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./image/3.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./image/4.png" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./image/5.webp" alt="">
                </div>
            </div>
        </div>
    </div>

    <div class="wrap">
        <div class="swiper-container yy">
            <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <img src="./image/1.webp" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./image/2.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./image/3.jpg" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./image/4.png" alt="">
                </div>
                <div class="swiper-slide">
                    <img src="./image/5.webp" alt="">
                </div>
            </div>
        </div>
    </div>
    <script src="./js/banner.js"></script>
    <script>
        new Banner(".swiper-container", {
            autoPlay: true,
            pagiation: true,
            btn: true
        })
        new Banner(".yy", {
            autoPlay: true,
            pagiation: true,
            btn: false
        })
    </script>
</body>

</html>